﻿using System;

namespace SilenthinkContract.Domain
{
    public enum AddressCategory : byte
    {
        /// <summary>
        /// 帐单地址
        /// </summary>
        ShippingAddress = 1,
        /// <summary>
        /// 收货地址
        /// </summary>
        BillAddress = 2
    }
    public class UserAddress : BaseEntity<int>
    {
        public int UserId { get; set; }
        public AddressCategory Category { get; set; }
        public int CountryId { get; set; }
        public string AreaCode { get; set; }
        public string Receiver { get; set; }
        public string Phone { get; set; }
        //public string Fax { get; set; }
        public string Mobile { get; set; }
        //public string Email { get; set; }
        public string Address { get; set; }
        public string PostalCode { get; set; }
        public bool IsDefault { get; set; }
    }
}
